'use strict';

function choose_even(collection) {

  //在这里写入代码
  function check(x) {
    return x%2==0;
  }
  return collection.filter(check);
  
}

module.exports = choose_even;
